package com.kqzz.common.exception;


public class BusinessException extends RuntimeException {

    /**
	 *
	 */
	private static final long serialVersionUID = 2226627126363677109L;
	/**
     * 异常消息
     */
    protected final String message;

    /**
     * 业务异常
     */
    public BusinessException(String message) {
        this.message = message;
    }

    /**
     * 异常获取
     */
    @Override
    public String getMessage() {
        return message;
    }

}
